// components/famous/index.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    zid: Number,
    imgUrl: String,
    name: String,
    videoCount: Number

  },

  /**
   * 组件的初始数据
   */
  data: {
    defaultImgUrl: "images/tou.jpg"

  },

  /**
   * 组件的方法列表
   */
  methods: {
    onFamous: function(e) {
      let id = e.currentTarget.dataset.id;
      let name = e.currentTarget.dataset.name;
      wx.navigateTo({
        url: '/pages/meetVideo/meetVideo?id=' + id + '&name=' + name,
      })
    }
  }
})